home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C & C++ Multimedia Cyber Classroom
/
C and C++ Multimedia Cyber Classroom (Prentice Hall) (1998).iso
/
src
/
fig09_07.jar
/
Ch09
/
Fig09_07
/
Circle2.h
< prev
next >
Wrap
C/C++ Source or Header
|
1997-10-27
|
305b
|
20 lines
// Fig. 9.7: circle2.h
// Definition of class Circle
#ifndef CIRCLE2_H
#define CIRCLE2_H
#include "point2.h"
class Circle : public Point {
public:
// default constructor
Circle( double r = 0.0, int x = 0, int y = 0 );
~Circle();
private:
double radius;
};
#endif